package com.dstz.bpm.core.model;

import com.dstz.base.api.model.IBaseModel;
import com.dstz.bpm.api.model.task.IBpmTaskOpinion;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;

@ApiModel(
   description = "流程任务审批记录"
)
public class BpmTaskOpinion implements IBaseModel, IBpmTaskOpinion {
   protected String id;
   @ApiModelProperty("流程实例ID")
   protected String v;
   @ApiModelProperty("父实例ID，用于子流程")
   protected String ai;
   @ApiModelProperty("任务ID")
   protected String taskId;
   @ApiModelProperty("任务节点ID")
   protected String aj;
   @ApiModelProperty("任务名称")
   protected String taskName;
   @ApiModelProperty(
      hidden = true
   )
   protected String ak;
   @ApiModelProperty("任务候选人情况")
   private String al;
   @ApiModelProperty("任务审批人ID")
   protected String am;
   @ApiModelProperty("任务审批人名字")
   protected String an;
   @ApiModelProperty("任务处理意见")
   protected String ao;
   @ApiModelProperty("状态")
   protected String status;
   @ApiModelProperty(
      hidden = true
   )
   protected String formId;
   protected String createBy;
   protected Date createTime;
   @ApiModelProperty("审批时间")
   protected Date ae;
   @ApiModelProperty("任务处理耗时")
   protected Long af;

   public void setId(String id) {
      this.id = id;
   }

   public String getId() {
      return this.id;
   }

   public void setInstId(String instId) {
      this.v = instId;
   }

   public String getInstId() {
      return this.v;
   }

   public void setSupInstId(String supInstId) {
      this.ai = supInstId;
   }

   public String getSupInstId() {
      return this.ai;
   }

   public void setTaskId(String taskId) {
      this.taskId = taskId;
   }

   public String getTaskId() {
      return this.taskId;
   }

   public void setTaskKey(String taskKey) {
      this.aj = taskKey;
   }

   public String getTaskKey() {
      return this.aj;
   }

   public void setTaskName(String taskName) {
      this.taskName = taskName;
   }

   public String getTaskName() {
      return this.taskName;
   }

   public void setToken(String token) {
      this.ak = token;
   }

   public String getToken() {
      return this.ak;
   }

   public void setApprover(String approver) {
      this.am = approver;
   }

   public String getApprover() {
      return this.am;
   }

   public void setApproverName(String approverName) {
      this.an = approverName;
   }

   public String getApproverName() {
      return this.an;
   }

   public void setOpinion(String opinion) {
      this.ao = opinion;
   }

   public String getOpinion() {
      return this.ao;
   }

   public Date getApproveTime() {
      return this.ae;
   }

   public void setApproveTime(Date approveTime) {
      this.ae = approveTime;
   }

   public void setStatus(String status) {
      this.status = status;
   }

   public String getStatus() {
      return this.status;
   }

   public void setFormId(String formId) {
      this.formId = formId;
   }

   public String getFormId() {
      return this.formId;
   }

   public void setCreateBy(String createBy) {
      this.createBy = createBy;
   }

   public String getCreateBy() {
      return this.createBy;
   }

   public void setCreateTime(Date createTime) {
      this.createTime = createTime;
   }

   public Date getCreateTime() {
      return this.createTime;
   }

   public void setDurMs(Long durMs) {
      this.af = durMs;
   }

   public Long getDurMs() {
      return this.af;
   }

   public String toString() {
      return (new ToStringBuilder(this)).append("id", this.id).append("instId", this.v).append("supInstId", this.ai).append("taskId", this.taskId).append("taskKey", this.aj).append("taskName", this.taskName).append("token", this.ak).append("approver", this.am).append("approverName", this.an).append("opinion", this.ao).append("status", this.status).append("formId", this.formId).append("createBy", this.createBy).append("createTime", this.createTime).append("approveTime", this.ae).append("durMs", this.af).toString();
   }

   public Date getUpdateTime() {
      return null;
   }

   public void setUpdateTime(Date updatetime) {
   }

   public String getUpdateBy() {
      return null;
   }

   public void setUpdateBy(String updateBy) {
   }

   public String getAssignInfo() {
      return this.al;
   }

   public void setAssignInfo(String assignInfo) {
      this.al = assignInfo;
   }
}
